package gui;
import java.awt.*;

import javax.swing.*;

public class AcceuilUI extends AbstractViewPane {
		
	public AcceuilUI() {
		JPanel p = new JPanel(new SpringLayout());

        JLabel l = new JLabel("Bienvenue", JLabel.TRAILING);
        p.add(l);
        
        //Lay out the panel.
        SpringUtilities.makeCompactGrid(p,
                                        1, 1, //rows, cols
                                        6, 6,        //initX, initY
                                        6, 6);       //xPad, yPad
        
        add(p, BorderLayout.CENTER);

	}

	@Override
	public boolean hasBeenModified() {
		return false;
	}

	@Override
	public String getTitle() {
		return "Accueil";
	}
}
